package com.cjr.service;

import com.cjr.pojo.SeckillOrder;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cjr.pojo.User;

/**
 * seckill order service interface
 *
 * @author cjr
 */
public interface ISeckillOrderService extends IService<SeckillOrder> {

    /**
     * get seckill result
     * @param user
     * @param goodsId
     * @return
     */
    Long getResult(User user, Long goodsId);
}
